#!/bin/bash
source /home/fanhongjie/fanhongjie/shell/clp/conf/CLP_Prop.conf
source ${AccBudgetLog_Conf}

source $COMMONS_DATEUTIL_FILE_PATH
backDay=1
fileName=
echo `date`
if [ $# -ne 0 ];then
  backDay=$1
fi 
currDate=`getBackDay $backDay`
fileName="${AccBudgetLog_PATH}/${currDate}/${AccBudgetLog_File_Name}${currDate}"
awk -F "\t" -f ${AccBudgetLog_AWK_FILE} $fileName | sort -u > "${currDate}"
echo `date`
